<?php

namespace app\common\validate\leescore;

use app\common\validate\BaseValidate;

class AddressValidate extends BaseValidate
{
    /**
     * 验证规则
     */
    protected $rule = [
        'name|姓名' => 'require|length:2,200',
        'mobile|电话' => 'require|isMobile',
        'address|详细地址' => 'require|length:2,400',
        'status|默认地址' => 'require|in:0,1',
        'province|省' => 'require|integer',
        'city|市' => 'require|integer',
        'area|县' => 'require|integer'
    ];
    /**
     * 提示消息
     */
    protected $message = [
    ];
    /**
     * 验证场景
     */
    protected $scene = [
        'add'  => [],
        'edit' => [],
    ];


    
}
